package org.itzixi.service;

import org.itzixi.pojo.FriendCircleLiked;
import org.itzixi.pojo.bo.CommentBO;
import org.itzixi.pojo.bo.FriendCircleBO;
import org.itzixi.pojo.vo.CommentVO;
import org.itzixi.utils.PagedGridResult;

import java.util.List;


public interface CommentService {
    /**
     * 创建发表评论
     * @param commentBO
     */
    public CommentVO createComment(CommentBO commentBO);

    /**
     * 查询所有评论
     * @param friendCircleId
     * @return
     */
    public List<CommentVO> queryAll(String friendCircleId);

    /**
     * 删除评论
     * @param commentId
     * @param commentUserId
     * @param friendCircleId
     */
    public void deleteComment(String commentId, String commentUserId, String friendCircleId);

}
